package com.zyyx.calendar.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zyyx.common.annotation.Excel;
import com.zyyx.common.core.domain.BaseEntity;

/**
 * 校历管理对象 calendar
 * 
 * @author ouxin
 * @date 2025-02-24
 */
public class Calendar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 校历id */
    @Excel(name = "校历id")
    private Long calendarId;

    /** 起始年 */
    @Excel(name = "起始年")
    private String startYear;

    /** 截止年 */
    @Excel(name = "截止年")
    private String endYear;

    /** 学期 */
    @Excel(name = "学期")
    private String period;

    public void setCalendarId(Long calendarId) 
    {
        this.calendarId = calendarId;
    }

    public Long getCalendarId() 
    {
        return calendarId;
    }
    public void setStartYear(String startYear) 
    {
        this.startYear = startYear;
    }

    public String getStartYear() 
    {
        return startYear;
    }
    public void setEndYear(String endYear) 
    {
        this.endYear = endYear;
    }

    public String getEndYear() 
    {
        return endYear;
    }
    public void setPeriod(String period) 
    {
        this.period = period;
    }

    public String getPeriod() 
    {
        return period;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("calendarId", getCalendarId())
            .append("startYear", getStartYear())
            .append("endYear", getEndYear())
            .append("period", getPeriod())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
